home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 24 / Mac Magazin and MacEasy Magazine CD - Issue 24.iso / Grafik & Text / Photohop Free Plug-ins / Rotate_Color / Rotate_Color.doc < prev   
Text File  |  1996-02-14  |  7KB  |  140 lines

  1. Rotate Color (a filter plug-in for Adobe Photoshop™ 3.0)
  2.  
  3. Free 68k version 1.0.0. Copyright 1996 Hugh Kawahara. All rights reserved.
  4.  
  5. § 0.    Quick Start (This section should be enough for most people.)
  6. 0.1    Distribution Policy (Yes, it's free!)
  7. This 68k version is a freeware. Please read § 1 for the detail.
  8. 0.2    System Requirement 
  9. Any Macintosh computer running Adobe Photoshop™ 3.0.0 or later.
  10. 0.3    Installation 
  11. Move the entire "Rotate_Color" folder into the "Plug-ins" folder in your "Adobe Photoshop™"
  12. folder. (Re)Start Photoshop. It will appear under the menu "Filter->colleen".
  13. 0.4    What It Does (Or just try it!)
  14. It works on RGB images only. It rotates the color in the (3D) RGB space about the red, green,
  15. blue, and hue axis. The origin of the rotation is the medium gray color. It also inverts the red,
  16. green, and blue channels separately.
  17. 0.5    Usage 
  18. The usage of the four sliders for the rotations and three check boxes for the inversions
  19. should be obvious. The plug-in creates a small thumb nail in the dialog box for quick  preview
  20. and a full size preview window over the original image window. Both previews are zoomable
  21. and scrollable and the full size preview is resizable. The original image window still exists
  22. behind the full size window. Use the "Glass" and "Hand" tools in the dialog box to zoom in/out
  23. or scroll the previews. Double click to the toolbox fits/zoom-in the thumb nail preview.
  24. Double click while holding down the option key fits/zoom-in the full size preview.
  25. Hold down the option key and click on the "Cancel" button to reset all parameters.
  26. 0.6    How to Reach the Author
  27. Please send comments, bug reports, etc. to <kawahara@leland.stanford.edu>.
  28. Visit <http://www.stanford.edu/~kawahara> for updates.
  29.  
  30. User's Guide
  31. This part is provided for completeness.
  32. Some part may be too technical for some people.
  33.  
  34. Contents
  35. 1. Distribution Policy and Legal Stuff
  36. 2. System Requirement
  37. 3. Installation
  38. 4. What It Does
  39. 5. Usage
  40. 6. Misc. Notes
  41. 7. How to Reach the Author
  42. 8. Acknowledgment
  43.  
  44. § 1. Distribution Policy and Legal Stuff
  45. This particular version (the version is specified at the top of this document) is a freeware.
  46. Other versions may not be.
  47. You may distribute this software freely as far as no parts of the contents of the folder
  48. "Rotate_Color", which includes this memo "Rotate_Color.doc" and the plug-in
  49. "Rotate_Color.68k", are deleted or modified.
  50. The author retains the copyright.
  51. This software is provided "as is".
  52. The author shall not be liable for any damages or losses caused by this software in any way.
  53.  
  54. § 2. System Requirement
  55. Hardware:
  56.     Macintosh computer with MC68020 processor or greater, including Power PC.
  57.     Math co-processor (FPU) is NOT required.
  58. Software:
  59.     System 7.0 or greater.
  60.     Adobe Photoshop™ 3.0.0 or greater.
  61. Since  Photoshop 3.0 requires MC68020 and System 7.0, any Macintosh computers running Photoshop 3.0.0 or greater should be sufficient to run this plug-in.
  62. It will not work with prior versions of Photoshop.
  63.  
  64. § 3. Installation
  65. Simply move, copy, or drag  the entire "Rotate_Color" folder containing the plug-in and
  66. this memo into the "Plug-ins" folder in your "Adobe Photoshop™" folder.
  67. Quit Photoshop if it is running. Then (re)start Photoshop.
  68. It will appear under the menu "Filter->colleen".
  69.  
  70. § 4. What It Does
  71. 4.1 Image Mode
  72. RGB images only.
  73. 4.2 What It Really Does
  74. In the RGB model, colors are points in a three dimensional RGB space.
  75. The plug-in arbitrary rotates this space about the mid-gray point (R = G = B = 50%). 
  76. To specify the rotation, the plug-in uses rotation angle about hue, red, green, and blue axis.
  77. The hue axis starts at black (R = G = B = 0%) and ends at white (R = G = B = 100%).
  78. The red axis starts at (R = 0%, G = B = 50%) and ends at (R = 100%, G = B = 50%), etc..
  79. The rotations are counterclockwise assuming the RGB space is a right-handed coordinate.
  80. In addition to the rotations, the plug-in inverts each color channel separately.
  81. It applies the inversions first, then rotate the color about the axis in order of
  82. hue, red, green, and blue.
  83. Since the RGB space is cubic, it won't fit in the RGB space after the rotation.
  84. The plug-in performs any contraction/expansion to/from the mid-gray point
  85. necessary to fit into the final RGB space.
  86. It preserves the mid-gray at any operation.
  87. (Note: Rotation in a 3-D space only requires three rotations. Therefore, one of the four angles is superfluous.
  88. However, if you use only three angles and requires completeness (such as Euler angles), they won't be symmetric,
  89. i.e. the angles won't be directly connected to the color anymore. Also, two of the three inversions are superfluous.)
  90.  
  91. § 5. Usage
  92. 5.1 Invocation
  93. Simply choose "Rotate Color…" from the menu "Filter->colleen".
  94. 5.2 Adjusting the Rotation Angles
  95. Use the sliders in the dialog window to adjust the rotation angles.
  96. 5.3 Inverting the Channels
  97. Use the check-boxes in the dialog window. You can invert the channels separately.
  98. 5.4 Resetting the Rotation Angles and Inversions
  99. Clicking the "Cancel" button while pressing the option key resets all parameters.
  100. It sets all rotation angles to zero and un-checks all invert check boxes.
  101. 5.5 Previews
  102. The plug-in creates two previews. One is a small thumb nail in the dialog box
  103. and other one is a full size preview over the original image window.
  104. The full size preview window is a separate window from the original image window.
  105. To view the original image, just drag the preview window.
  106. Both previews are zoomable and scrollable. The full size preview is resizable too.
  107. Use the "Glass" tool to zoom-in/out the preview. Use the "Hand" tool or the scroll bars
  108. to scroll the preview. Press the option key to zoom out. Press the command key to zoom in.
  109. The maximum zoom-in ration is 1:1 at this moment.
  110. To choose a tool, click the toolbox in the dialog window.
  111. Double click the "Hand" tool to fit the thumb nail preview to the preview area.
  112. Press the option key while double clicking to fit the full size preview to the window.
  113. Double click the "Glass" tool to zoom in the thumb nail preview to 1:1 ratio.
  114. Press the option key while double clicking to zoom in the full size preview.
  115. The double clicks do not resize the window . 
  116. (Note: The thumb nail preview is "buffered" for quick refresh.
  117. Any zooming or scrolling may take some time to re-buffer the data from Photoshop, if the image is large.)
  118.  
  119. § 6. Misc. Notes
  120. The following are special cases.
  121. 6.1 Swapping the Red and Green Channels
  122. Rotate +90° about the blue axis and invert the red channel.
  123. 6.2 Swapping the Green and Blue Channels
  124. Rotate +90° about the red axis and invert the green channel.
  125. 6.3 Swapping the Blue and Green Channels
  126. This is your home work :-).
  127.  
  128. § 7.    How to Reach the Author
  129. Please send comments, bug reports, etc. to <kawahara@leland.stanford.edu>.
  130. Visit <http://www.stanford.edu/~kawahara> for updates.
  131.  
  132. § 8. Acknowledgment
  133. This software was developed using
  134. Metrowerks CodeWarrior Academic 7 and
  135. Adobe Photoshop 3.0.4 SDK.
  136.  
  137. Adobe Photoshop is a trademark of Adobe Systems, Inc..
  138. Macintosh is a trademark of Apple Computer, Inc..
  139. Metrowerks CodeWarrior is a trademark of Metrowerks, Inc..
  140.